Integrand size = 18, antiderivative size = 269 \[ \int \frac {x^2}{\sqrt {a+a \cosh (c+d x)}} \, dx=\frac {4 x^2 \arctan \left (e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d \sqrt {a+a \cosh (c+d x)}}-\frac {8 i x \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (2,-i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^2 \sqrt {a+a \cosh (c+d x)}}+\frac {8 i x \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (2,i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^2 \sqrt {a+a \cosh (c+d x)}}+\frac {16 i \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (3,-i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^3 \sqrt {a+a \cosh (c+d x)}}-\frac {16 i \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (3,i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^3 \sqrt {a+a \cosh (c+d x)}} \]
[Out]
Time = 0.14 (sec) , antiderivative size = 269, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.278, Rules used = {3400, 4265, 2611, 2320, 6724} \[ \int \frac {x^2}{\sqrt {a+a \cosh (c+d x)}} \, dx=\frac {4 x^2 \arctan \left (e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d \sqrt {a \cosh (c+d x)+a}}+\frac {16 i \operatorname {PolyLog}\left (3,-i e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d^3 \sqrt {a \cosh (c+d x)+a}}-\frac {16 i \operatorname {PolyLog}\left (3,i e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d^3 \sqrt {a \cosh (c+d x)+a}}-\frac {8 i x \operatorname {PolyLog}\left (2,-i e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d^2 \sqrt {a \cosh (c+d x)+a}}+\frac {8 i x \operatorname {PolyLog}\left (2,i e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d^2 \sqrt {a \cosh (c+d x)+a}} \]
[In]
[Out]
Rule 2320
Rule 2611
Rule 3400
Rule 4265
Rule 6724
Rubi steps \begin{align*} \text {integral}& = \frac {\sin \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right ) \int x^2 \csc \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right ) \, dx}{\sqrt {a+a \cosh (c+d x)}} \\ & = \frac {4 x^2 \arctan \left (e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d \sqrt {a+a \cosh (c+d x)}}-\frac {\left (4 i \sin \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right )\right ) \int x \log \left (1-i e^{\frac {c}{2}+\frac {d x}{2}}\right ) \, dx}{d \sqrt {a+a \cosh (c+d x)}}+\frac {\left (4 i \sin \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right )\right ) \int x \log \left (1+i e^{\frac {c}{2}+\frac {d x}{2}}\right ) \, dx}{d \sqrt {a+a \cosh (c+d x)}} \\ & = \frac {4 x^2 \arctan \left (e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d \sqrt {a+a \cosh (c+d x)}}-\frac {8 i x \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (2,-i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^2 \sqrt {a+a \cosh (c+d x)}}+\frac {8 i x \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (2,i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^2 \sqrt {a+a \cosh (c+d x)}}+\frac {\left (8 i \sin \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right )\right ) \int \operatorname {PolyLog}\left (2,-i e^{\frac {c}{2}+\frac {d x}{2}}\right ) \, dx}{d^2 \sqrt {a+a \cosh (c+d x)}}-\frac {\left (8 i \sin \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right )\right ) \int \operatorname {PolyLog}\left (2,i e^{\frac {c}{2}+\frac {d x}{2}}\right ) \, dx}{d^2 \sqrt {a+a \cosh (c+d x)}} \\ & = \frac {4 x^2 \arctan \left (e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d \sqrt {a+a \cosh (c+d x)}}-\frac {8 i x \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (2,-i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^2 \sqrt {a+a \cosh (c+d x)}}+\frac {8 i x \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (2,i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^2 \sqrt {a+a \cosh (c+d x)}}+\frac {\left (16 i \sin \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right )\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-i x)}{x} \, dx,x,e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^3 \sqrt {a+a \cosh (c+d x)}}-\frac {\left (16 i \sin \left (\frac {1}{2} \left (i c+\frac {\pi }{2}\right )+\frac {\pi }{4}+\frac {i d x}{2}\right )\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,i x)}{x} \, dx,x,e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^3 \sqrt {a+a \cosh (c+d x)}} \\ & = \frac {4 x^2 \arctan \left (e^{\frac {c}{2}+\frac {d x}{2}}\right ) \cosh \left (\frac {c}{2}+\frac {d x}{2}\right )}{d \sqrt {a+a \cosh (c+d x)}}-\frac {8 i x \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (2,-i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^2 \sqrt {a+a \cosh (c+d x)}}+\frac {8 i x \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (2,i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^2 \sqrt {a+a \cosh (c+d x)}}+\frac {16 i \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (3,-i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^3 \sqrt {a+a \cosh (c+d x)}}-\frac {16 i \cosh \left (\frac {c}{2}+\frac {d x}{2}\right ) \operatorname {PolyLog}\left (3,i e^{\frac {c}{2}+\frac {d x}{2}}\right )}{d^3 \sqrt {a+a \cosh (c+d x)}} \\ \end{align*}
Time = 0.18 (sec) , antiderivative size = 163, normalized size of antiderivative = 0.61 \[ \int \frac {x^2}{\sqrt {a+a \cosh (c+d x)}} \, dx=\frac {2 i \cosh \left (\frac {1}{2} (c+d x)\right ) \left (d^2 x^2 \log \left (1-i e^{\frac {1}{2} (c+d x)}\right )-d^2 x^2 \log \left (1+i e^{\frac {1}{2} (c+d x)}\right )-4 d x \operatorname {PolyLog}\left (2,-i e^{\frac {1}{2} (c+d x)}\right )+4 d x \operatorname {PolyLog}\left (2,i e^{\frac {1}{2} (c+d x)}\right )+8 \operatorname {PolyLog}\left (3,-i e^{\frac {1}{2} (c+d x)}\right )-8 \operatorname {PolyLog}\left (3,i e^{\frac {1}{2} (c+d x)}\right )\right )}{d^3 \sqrt {a (1+\cosh (c+d x))}} \]
[In]
[Out]
\[\int \frac {x^{2}}{\sqrt {a +a \cosh \left (d x +c \right )}}d x\]
[In]
[Out]
\[ \int \frac {x^2}{\sqrt {a+a \cosh (c+d x)}} \, dx=\int { \frac {x^{2}}{\sqrt {a \cosh \left (d x + c\right ) + a}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2}{\sqrt {a+a \cosh (c+d x)}} \, dx=\int \frac {x^{2}}{\sqrt {a \left (\cosh {\left (c + d x \right )} + 1\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {x^2}{\sqrt {a+a \cosh (c+d x)}} \, dx=\int { \frac {x^{2}}{\sqrt {a \cosh \left (d x + c\right ) + a}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2}{\sqrt {a+a \cosh (c+d x)}} \, dx=\int { \frac {x^{2}}{\sqrt {a \cosh \left (d x + c\right ) + a}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^2}{\sqrt {a+a \cosh (c+d x)}} \, dx=\int \frac {x^2}{\sqrt {a+a\,\mathrm {cosh}\left (c+d\,x\right )}} \,d x \]
[In]
[Out]